type net/http.cancelKey
10 uses
net/http (current package)
transport.go#L103: reqCanceler map[cancelKey]func(error)
transport.go#L294: type cancelKey struct {
transport.go#L467: cancelKey cancelKey
transport.go#L545: cancelKey := cancelKey{origReq}
transport.go#L804: t.cancelRequest(cancelKey{req}, errRequestCanceled)
transport.go#L809: func (t *Transport) cancelRequest(key cancelKey, err error) bool {
transport.go#L1147: func (t *Transport) setReqCanceler(key cancelKey, fn func(error)) {
transport.go#L1151: t.reqCanceler = make(map[cancelKey]func(error))
transport.go#L1164: func (t *Transport) replaceReqCanceler(key cancelKey, fn func(error)) bool {
transport.go#L2505: cancelKey cancelKey
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |